package com.hmall.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

public class MallOrderSalesContVo {
    /**
     * 销售合同id
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer saleContId;
    /**
     * 销售合同编号
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String saleContNo;
    //是否同意
    private Integer isAgree;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer userId;
    //甲方
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String jiaDeptName;
    /**
     * 乙方id 根据此id查询对应条款
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer yiDeptId;
    /**
     * 乙方部门名
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String yiDeptName;

    /**
     * 订单号
     */
    private Long orderNo;

    /**
     * 甲方盖章
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String jiaSign;

    /**
     * 乙方盖章
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String yiSign;
    private Date createTime;
    private Date updateTime;

    /**
     * 是否启用
     */
    private Integer isEnable;

    /**
     * 异议事项
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String dissent;

    /**
     * 审批人
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String approver;

    /**
     * 审批内容
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String approverContent;
    /**
     * 合同pdf
     */
    private String orderSalesContPdf;
    /**
     * 合同img
     */
    private String orderSalesContImg;

    /**
     * 条款列表
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<ContClauseVo> contClauseVos;
    /**
     * 订单项和订单产品
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private OrderSelectVo orderVo;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public OrderSelectVo getOrderVo() {
        return orderVo;
    }

    public void setOrderVo(OrderSelectVo orderVo) {
        this.orderVo = orderVo;
    }

    public List<ContClauseVo> getContClauseVos() {
        return contClauseVos;
    }

    public void setContClauseVos(List<ContClauseVo> contClauseVos) {
        this.contClauseVos = contClauseVos;
    }

    public String getYiDeptName() {
        return yiDeptName;
    }

    public void setYiDeptName(String yiDeptName) {
        this.yiDeptName = yiDeptName;
    }

    /**
     * 获取销售合同id
     *
     * @return sale_cont_id - 销售合同id
     */
    public Integer getSaleContId() {
        return saleContId;
    }

    /**
     * 设置销售合同id
     *
     * @param saleContId 销售合同id
     */
    public void setSaleContId(Integer saleContId) {
        this.saleContId = saleContId;
    }

    /**
     * 获取乙方id 根据此id查询对应条款
     *
     * @return yi_dept_id - 乙方id 根据此id查询对应条款
     */
    public Integer getYiDeptId() {
        return yiDeptId;
    }

    /**
     * 设置乙方id 根据此id查询对应条款
     *
     * @param yiDeptId 乙方id 根据此id查询对应条款
     */
    public void setYiDeptId(Integer yiDeptId) {
        this.yiDeptId = yiDeptId;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取甲方盖章
     *
     * @return jia_sign - 甲方盖章
     */
    public String getJiaSign() {
        return jiaSign;
    }

    /**
     * 设置甲方盖章
     *
     * @param jiaSign 甲方盖章
     */
    public void setJiaSign(String jiaSign) {
        this.jiaSign = jiaSign;
    }

    /**
     * 获取乙方盖章
     *
     * @return yi_sign - 乙方盖章
     */
    public String getYiSign() {
        return yiSign;
    }

    /**
     * 设置乙方盖章
     *
     * @param yiSign 乙方盖章
     */
    public void setYiSign(String yiSign) {
        this.yiSign = yiSign;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取是否启用
     *
     * @return is_enable - 是否启用
     */
    public Integer getIsEnable() {
        return isEnable;
    }

    /**
     * 设置是否启用
     *
     * @param isEnable 是否启用
     */
    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    /**
     * 获取异议事项
     *
     * @return dissent - 异议事项
     */
    public String getDissent() {
        return dissent;
    }

    /**
     * 设置异议事项
     *
     * @param dissent 异议事项
     */
    public void setDissent(String dissent) {
        this.dissent = dissent;
    }

    /**
     * 获取审批人
     *
     * @return approver - 审批人
     */
    public String getApprover() {
        return approver;
    }

    /**
     * 设置审批人
     *
     * @param approver 审批人
     */
    public void setApprover(String approver) {
        this.approver = approver;
    }

    /**
     * 获取审批内容
     *
     * @return approver_content - 审批内容
     */
    public String getApproverContent() {
        return approverContent;
    }

    /**
     * 设置审批内容
     *
     * @param approverContent 审批内容
     */
    public void setApproverContent(String approverContent) {
        this.approverContent = approverContent;
    }

    public String getSaleContNo() {
        return saleContNo;
    }

    public void setSaleContNo(String saleContNo) {
        this.saleContNo = saleContNo;
    }

    public String getOrderSalesContPdf() {
        return orderSalesContPdf;
    }

    public void setOrderSalesContPdf(String orderSalesContPdf) {
        this.orderSalesContPdf = orderSalesContPdf;
    }

    public String getOrderSalesContImg() {
        return orderSalesContImg;
    }

    public void setOrderSalesContImg(String orderSalesContImg) {
        this.orderSalesContImg = orderSalesContImg;
    }

    public String getJiaDeptName() {
        return jiaDeptName;
    }

    public void setJiaDeptName(String jiaDeptName) {
        this.jiaDeptName = jiaDeptName;
    }

    public Integer getIsAgree() {
        return isAgree;
    }

    public void setIsAgree(Integer isAgree) {
        this.isAgree = isAgree;
    }
}